from ..tool.base import BaseTool

class Terminate(BaseTool):
    """
    Terminate class, inheriting from BaseTool, used to implement the termination operation of a task.
    The main purpose of this class is to provide a termination signal or action when a task needs to be terminated.
    """

    def execute(self, input: str) -> str:
        """
        Implements the task termination operation.

        Parameters:
        input (str): Input information for task termination. This parameter is reserved for future use and is not actually used in the current implementation.

        Returns:
        str: Returns the result string of the termination operation, indicating that the task has been terminated.
        """
        return "Task terminated"
